package com.bub.pay.core.entity.vo.user;

import com.alibaba.fastjson.JSON;
import com.bub.pay.framework.common.base.BaseVo;

import java.util.List;

/**
 *
 * 修改角色
 */
public class UpdateRoleVo extends BaseVo {
	private Long roleId;
	private Integer type;//1=商户，2=代理，3=管理平台
	private String name;//角色名称
	private String code;
	private Integer sortNum;
	private Long extendId;
	private List<Long> permIds;//权限菜单

	public Long getExtendId() {
		return extendId;
	}

	public void setExtendId(Long extendId) {
		this.extendId = extendId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public List<Long> getPermIds() {
		return permIds;
	}

	public void setPermIds(List<Long> permIds) {
		this.permIds = permIds;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
